﻿<%@ control language="C#" autoeventwireup="true" inherits="_modules_ucPreview, App_Web_uortujqs" %>
    <div id="customerAccountPreview" class="addCustomerContentContainer" style="border: 0 none;">
        <asp:Repeater ID="rptrPreview" runat="server">
        <ItemTemplate>
            <div style="width:100%; float:left; margin-left:10px;">
            <div style="float:right; margin-right:15px;">
                <table>
                    <tr>
                        <td>
                            Invoice No
                        </td>
                        <td>
                            :
                        </td>
                        <td>
                            <b><asp:Label ID="lblInvoiceNo" runat="server" Text='<%# Eval("amc_invoice") %>'></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Date
                        </td>
                        <td>
                            :
                        </td>
                        <td>
                            <b><asp:Label ID="Label1" runat="server" Text='<%# Eval("amc_invoiceDate") %>'></asp:Label></b>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="float:left;width:100%;">
                <table>
                    <tr>
                        <td>
                            Customer ID
                        </td>
                        <td>:</td>
                        <td>
                            <b><asp:Label ID="Label2" runat="server" Text='<%# Eval("cus_id") %>'></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Name
                        </td>
                        <td>:</td>
                        <td>
                            <b><asp:Label ID="Label3" runat="server" Text='<%# Eval("cus_Fname") %>'></asp:Label>&nbsp;<asp:Label ID="Label4" runat="server" Text='<%# Eval("cus_Lname") %>'></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Address
                        </td>
                        <td>:</td>
                        <td>
                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("cus_Address1") %>'></asp:Label><br />
                            <asp:Label ID="Label6" runat="server" Text='<%# Eval("cus_Address2") %>'></asp:Label><br />
                            <asp:Label ID="Label7" runat="server" Text='<%# Eval("cus_City") %>'></asp:Label>,&nbsp;<asp:Label ID="Label8" runat="server" Text='<%# Eval("cus_State") %>'></asp:Label>&nbsp;-&nbsp;<asp:Label ID="Label9" runat="server" Text='<%# Eval("cus_Postcode") %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Mobile
                        </td>
                        <td>:</td>
                        <td>
                            <b><asp:Label ID="Label10" runat="server" Text='<%# Eval("cus_Mobile") %>'></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Email
                        </td>
                        <td>:</td>
                        <td>
                            <asp:Label ID="Label11" runat="server" Text='<%# Eval("cus_Email") %>'></asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
            <div style="float:left; margin-top:20px; width: 700px;">
                <table align="center" style="width:100%;border:1px solid #000000;" border="0" cellpadding="0" cellspacing="0">
                    <tr style="background-color:Black; color:White; float:left; height:25px;">
                        <th style="width:300px;padding-top: 4px;border-right: 1px solid #000;">
                            Particular
                        </th>
                        <th style="width:100px;border-right: 1px solid #000;">
                            Warranty
                        </th>
                        <th style="width:120px;border-right: 1px solid #000;">
                            Expiry Date
                        </th>
                        <th style="width:100px;border-right: 1px solid #000;">
                            AMC Rate
                        </th>
                        <th style="width:100px;">
                            Amount
                        </th>
                    </tr>
                    <tr style="float:left;">
                        <td style="width:300px; text-align:left;border-right: 1px solid;">
                            <table>
                                <tr>
                                    <td style="width:100%;">
                                        <b>
                                        <asp:Label ID="Label12" runat="server" Text='<%# Eval("sale_brand") %>'></asp:Label>&nbsp;
                                        <asp:Label ID="Label13" runat="server" Text='<%# Eval("sale_product") %>'></asp:Label>&nbsp;
                                        <asp:Label ID="Label14" runat="server" Text='<%# Eval("sale_modal") %>'></asp:Label>
                                        </b>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Bill No: <asp:Label ID="Label15" runat="server" Text='<%# Eval("sale_billNo") %>'></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Bill Date: <asp:Label ID="Label16" runat="server" Text='<%# Eval("sale_billDate") %>'></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        Dealer/Outlet: <asp:Label ID="Label17" runat="server" Text='<%# Eval("sale_dealer") %>'></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style="width:100px;text-align:center;border-right: 1px solid;">
                            <asp:Label ID="Label18" runat="server" Text='<%# Eval("amc_warranty") %>'></asp:Label>
                        </td>
                        <td style="width:120px;text-align:center;border-right: 1px solid;">
                            <asp:Label ID="Label19" runat="server" Text='<%# Eval("amc_expiry") %>'></asp:Label>
                        </td>
                        <td style="width:100px;text-align:center;border-right: 1px solid;">
                            <span class="WebRupee">Rs</span> <asp:Label ID="Label20" runat="server" Text='<%# Eval("amc_rate") %>'></asp:Label>/-
                        </td>
                        <td style="width:100px;text-align:center;">
                            <span class="WebRupee">Rs</span> <asp:Label ID="Label21" runat="server" Text='<%# Eval("amc_amount") %>'></asp:Label>/-
                        </td>
                    </tr>
                </table>
            </div>
            <div style="float:left; margin-top:5px;">
                <table>
                    <tr>
                        <td>Payment Mode</td>
                        <td>:</td>
                        <td><b><asp:Label ID="Label22" runat="server" Text='<%# Eval("amc_payMode") %>'></asp:Label></b></td>
                    </tr>
                </table>
            </div>
            <div style="width:100%; float:left; margin-top:10px;">
                <input id="isCustomerCopy" type="checkbox" style="float: left;" /> <span style="float: left;padding-top: 1px;"> Would you like to send this receipt to customer?</span>
            </div>
            <div style="float:right;margin-bottom: 65px;margin-right: 20px;margin-top: 30px;">
                <table>
                    <tr>
                        <td>
                            For <b>PARAYIL AGENCIES</b>
                        </td>
                        <td>
                            <br />
                            <br />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        </ItemTemplate>
        </asp:Repeater>
        
        <div style="float:right; margin-top:20px;margin-right:10px;margin-bottom:20px;">
                <div class="adminGrayButton" onclick="tablePrint();">Print</div>
                <div id="saveCustomerData" class="adminColorButton" onclick="fnFinishClick();">Finish</div>
        </div>
    </div>